$OpenBSD: patch-configure,v 1.5 2011/10/30 07:38:50 sebastia Exp $
--- configure.orig	Tue May 10 21:38:42 2011
+++ configure	Sun Oct  9 18:18:26 2011
@@ -8194,7 +8194,6 @@ fi
 		# OpenBSD builds and links with -pthread, never -lpthread.
 		LIBS=`echo $LIBS | sed s/-lpthread//`
 		CFLAGS="$CFLAGS -pthread"
-		SHLIB_CFLAGS="$SHLIB_CFLAGS -pthread"
 
 fi
 	    # OpenBSD doesn't do version numbers with dots.
